package com.dianping.cat.consumer.all.config.transform;

import com.dianping.cat.consumer.all.config.IVisitor;
import com.dianping.cat.consumer.all.config.entity.AllConfig;
import com.dianping.cat.consumer.all.config.entity.Name;
import com.dianping.cat.consumer.all.config.entity.Report;
import com.dianping.cat.consumer.all.config.entity.Type;

public abstract class BaseVisitor
  implements IVisitor {
  public void visitAllConfig(AllConfig allConfig) {
/* 12 */     for (Report report : allConfig.getReports().values()) {
/* 13 */       visitReport(report);
    }
  }


  
  public void visitName(Name name) {}

  
  public void visitReport(Report report) {
/* 23 */     for (Type type : report.getTypes().values()) {
/* 24 */       visitType(type);
    }
  }

  
  public void visitType(Type type) {
/* 30 */     for (Name name : type.getNameList())
/* 31 */       visitName(name); 
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/lib/cat-consumer-3.0.0.jar!/com/dianping/cat/consumer/all/config/transform/BaseVisitor.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */